Monitoring of the autonomic nervous system